package com.wxzz.elearing.user.entity;

import java.time.LocalDateTime;

import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 部门班组 外层数据展示pid为0的数据
 * </p>
 *
 * @author
 * @since 2021-03-11
 */
@Data
@ApiModel(value = "AdminDepartment对象", description = "部门班组 外层数据展示pid为0的数据")
public class AdminDepartment extends BaseEntity {

    @ApiModelProperty(value = "名称")
    private String departmentName;

    @ApiModelProperty(value = "管理者")
    private String regulator;

    @ApiModelProperty(value = "管理者联系方式")
    private String regulatorPhone;

    @ApiModelProperty(value = "班组名称")
    private String groupName;

    @ApiModelProperty(value = "上级id 0为部门 ")
    private Integer pid;

    @ApiModelProperty(value = "企业id")
    private Integer enterpriseId;

    @ApiModelProperty(value = "类型 0-部门 1-班组 2-职位")
    private Integer type;


}
